package com.cictec.cloud.app.appserver.rest;

import com.cictec.cloud.app.appserver.feign.UploadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author :zoboy
 * @Description:
 * @ Date: Created in 2020-05-09 13:33
 */
@RestController
@RequestMapping("/app/feign")
public class DcFeignController {

    @Autowired
    UploadService uploadService;

    @GetMapping("/consumer")
    public String dc() {
        return uploadService.consumer();
    }

}
